package com.itheima.service.impl;

import com.itheima.service.UserService;
import com.sun.org.apache.xalan.internal.xslt.Process;
import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {

    public int save(int i,int m){
        System.out.println("user service running..."+i+","+m);
        return 100;
    }

    public void pt() {
    }

    public Object runtimeMonitor(ProceedingJoinPoint pjb) {
        System.out.println("user service running..."+pjb);
        return "系统运行时长";
    }

    public void runtimeMonitor(Class<Process> processClass) {

    }

}
